// To parse this JSON data, do
//
//     final appConfig = appConfigFromJson(jsonString);

import 'dart:convert';

AppConfig appConfigFromJson(String str) => AppConfig.fromJson(json.decode(str));

String appConfigToJson(AppConfig data) => json.encode(data.toJson());

class AppConfig {
  int id;
  String name;
  String key;
  String value;
  int deleteFlag;
  String createTime;

  AppConfig({
    required this.id,
    required this.name,
    required this.key,
    required this.value,
    required this.deleteFlag,
    required this.createTime,
  });

  factory AppConfig.fromJson(Map<String, dynamic> json) => AppConfig(
    id: json["id"],
    name: json["name"],
    key: json["key"],
    value: json["value"],
    deleteFlag: json["deleteFlag"],
    createTime: json["createTime"] as String,
  );

  Map<String, dynamic> toJson() => {
    "id": id,
    "name": name,
    "key": key,
    "value": value,
    "deleteFlag": deleteFlag,
    "createTime": createTime,
  };
}
